package com.glodon.paas.monitor.server.biz.mapper;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Param;

import com.glodon.paas.monitor.server.biz.domain.MonitorUserEntity;

public interface MonitorUserMapper {

	int deleteByPrimaryKey(Long id);

	int insert(MonitorUserEntity record);

	int insertSelective(MonitorUserEntity record);

	MonitorUserEntity selectByPrimaryKey(Long id);

	MonitorUserEntity selectByUserName(@Param("userName") String userName);

	MonitorUserEntity loginByUserNameAndPassword(@Param("userName") String userName, @Param("password") String password);

	ArrayList<MonitorUserEntity> queryMonitorUser(MonitorUserEntity record);

	int updateByPrimaryKeySelective(MonitorUserEntity record);

	int updateByPrimaryKey(MonitorUserEntity record);
}